import config from '@/config'
import RequestBase from '@/utils/request.js'

const baseRequest = new RequestBase(config.baseUrl)

// 根据字典类型查询字典数据信息
export function getDicts(dictType) {
	return baseRequest.get('/dict/data/type/' + dictType)
}